package com.gzy.fisherybackend.model.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * 
 * @TableName user
 */
@TableName(value ="user")
@Data
public class User implements Serializable {
    /**
     * 
     */
    @TableId(type = IdType.AUTO)
    @TableField("UserID")
    private Integer userID;

    /**
     * 
     */
    @TableField("Username")
    private String username;

    /**
     * 
     */
    @TableField("Password")
    private String password;

    /**
     * 
     */
    @TableField("Role")
    private String role;

    /**
     * 
     */
    @TableField("Contact")
    private String contact;

    /**
     * 
     */
    @TableField("Email")
    private String email;

    /**
     * 
     */
    @TableField("RegisterTime")
    private Date registerTime;

    /**
     * 
     */
    @TableField("LastLoginTime")
    private Date lastLoginTime;

    /**
     * 用户头像
     */
    @TableField("UserAvatar")
    private String userAvatar;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}